project(thread_pool)
# 添加调试信息
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
# cpp17
set(CMAKE_CXX_STANDARD 17)

add_executable(thread_pool thread_pool_test.cpp)
add_executable(thread_pool_test2 thread_pool_test2.cpp)

target_link_libraries(thread_pool pthread)
target_link_libraries(thread_pool_test2 pthread)







